import java.util.LinkedList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-07-11
 * 21:51
 */
public class Test {
    public static void main(String[] args) {
        SingleLinkedList list = new SingleLinkedList();
        list.addLast(1);
        list.addLast(2);
        list.addLast(32);
        list.addLast(89);
        System.out.println(list.contains(33));
        list.addIndex(4, 36);
        list.display();
        list.remove(36);
        list.addLast(2);
        list.addLast(2);
        list.display();
        list.removeAllKey(2);
        list.display();
        list.clear();
        list.display();


    }
}

